package com.poker.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("GE_USER")
@ApiModel(value = "",description = "")
public class User {

    @ApiModelProperty(value="主键")
    @TableId("USER_ID")
    private String userId;

    @ApiModelProperty(value="昵称")
    @TableField("NAME")
    private String name;

    @ApiModelProperty(value="密码")
    @TableField("PASSWORD")
    private String password;

    @ApiModelProperty(value="状态")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value="照片")
    @TableField("PHOTO")
    private byte[] photo;

    @TableField(exist = false)
    private String icon;


}